<template>

	<mp-html :content="data"></mp-html>
	<view class="safeArea"></view>
</template>

<script setup>
import { ref } from 'vue';
import { useStore } from '../../store';
import { onLoad  } from "@dcloudio/uni-app"
	
	const store = useStore()
	let data = ref('')
	
	
	onLoad(options=>{
		let keys = {
			about_me:'关于我们',
			privacy_agreement:'隐私政策',
			user_agreement:'用户协议',
			bxfw:'保险服务',
			pjxy:'陪驾协议',
			ppjs:'品牌介绍',
			yq_rule:'邀请规则',
			price_agree:'用户学车协议'
		}
		data.value = store.config[options.key]
		uni.setNavigationBarTitle({
			title:keys[options.key]
		})
	})
	
	
	
	
</script>

<style scoped lang="scss">

</style>
